<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <head>
        <title>TODO supply a title</title>
    </head>
    <body>
        <ui:composition>
            <hgroup class="fl logo-box">
                <h1><a href="/HelpDesk/admin/home.jsf">ManTech</a></h1>
                
             

                <h2>help desk</h2>
            </hgroup>
            <div class="search-box fl ui-helper-clearfix">
                <p:selectOneMenu styleClass="search-area fl">
                    <f:selectItem itemLabel="All" itemValue="all"/>
                    <f:selectItem itemLabel="Complaint" itemValue="complaint"/>
                </p:selectOneMenu>
                <p:inputText placeholder="Enter your search..." id="headerSearchInput" styleClass="fl input-search"/>
                <p:button icon="ui-icon-search" id="ButtonSearchGo" styleClass="fl button-search-go"/>
            </div>
            <div class="user fr">
                <p:splitButton action="#{loginController.goToAdmin()}" styleClass="split-user-account" icon="ui-icon-person" value="#{loginController.currentUser.username}">
                    <p:menuitem value="Change password" icon="ui-icon-key"/>
                    <p:menuitem value="Edit Profile" url="../edit_profile.jsf" icon="ui-icon-pencil"/>
                    <p:separator/>
                    <p:menuitem value="Create new complaint" url="../employee/new_complaint.jsf" icon="ui-icon-add"/>
                    <p:menuitem url="../admin/home.jsf" value="Go to Admin" icon="ui-icon-person"/>
                    <p:menuitem action="#{loginController.logout()}" value="Logout"/>
                </p:splitButton>
            </div>

        </ui:composition>
    </body>
</html>
